package link.cocoon.api.blog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import link.cocoon.blog.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Cocoon
 * @since 2020-03-31
 */
@Mapper
public interface ArticleApiMapper {

  IPage<Article> selectPage(Page<Article> page);

  String selectContentById(Long id);
}
